package com.shq.ex1;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class MainActivity extends AppCompatActivity {
    Button buttonUserLogin;
    Button buttonSimCal;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        buttonUserLogin = (Button)findViewById(R.id.buttonUserLogin);
        buttonSimCal = (Button)findViewById(R.id.buttonCal);

    }

    public void buttonUL(View view) {
        Intent i = new Intent(this,ULActivity.class);
        startActivity(i);
    }

    public void buttonSimCal(View view) {
        Intent i = new Intent(this,SimCaculatorActivity.class);
        startActivity(i);
    }

    public void buttonDaTSel(View view) {
        Intent i = new Intent(this,DateAndTimeSelActivity.class);
        startActivity(i);
    }

    public void buttonJiShiQi(View view) {
        Intent i = new Intent(this,JiShiQiActivity.class);
        startActivity(i);
    }
    public void buttonZhuCe(View view) {
        Intent i = new Intent(this,ZhuCeActivity.class);
        startActivity(i);
    }
    public void bgj(View view) {
        Intent i = new Intent(this,GaoJiUIActivity.class);
        startActivity(i);
    }
    public void huandengpian(View view) {
        Intent i = new Intent(this,HuanDengPianActivity.class);
        startActivity(i);
    }
    public void jianDanShouShiJiSuanQi(View view) {
        Intent i = new Intent(this,SimCalcuGesActivity.class);
        startActivity(i);
    }

    public void dicitionary(View view) {
        Intent i = new Intent(this,DicitionaryActivity.class);
        startActivity(i);
    }
    public void dingshitixing(View view) {
        Intent i = new Intent(this,MulDingShiActivity.class);
        startActivity(i);
    }
    public void music(View view) {
        Intent i = new Intent(this,MusicActivity.class);
        startActivity(i);
    }
    public void dds(View view) {
        Intent i = new Intent(this,DdsActivity.class);
        startActivity(i);
    }
    public void gjc(View view) {
        Intent i = new Intent(this,GjcActivity.class);
        startActivity(i);
    }
}
